package com.candy.modal;

import com.candy.dao.DBHelper;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public class UserLoginModal {
    public boolean isLogined(String strSql) {
        boolean ok = false;
        List<Map<String, Object>> list = DBHelper.query4ListMap(strSql);
        if (list != null && list.size() > 0) {
            ok = true;
        }
        return ok;
    }


}
